<?php
class checkboxset extends inputset {
	public function __construct(){
		$this->tag = 'checkbox';
	}
	
	public function setCheckedValue($value){
		if ( array_key_exists($value, $this->values)){
			$this->checkedvalues[$value] = 1;
		} else {
			trigger_error("Array key does not exist [" . $value . "].", E_USER_ERROR);
		}
	}
}
?>
